import {
	request
} from '@/util/request.js'
//小吃美食排序
export function getAllSnackOd(data) {
	return request({
		url: '/findAllSnackOd',
		method: 'get',
		data
	})
}
//模糊查询
export function getFindAllSnackLikes(data) {
	return request({
		url: '/findAllSnackLikes',
		method: 'get',
		data
	})
}
//全部分类
export function getViewListApi() {
	return request({
		url: '/selectSnackType',
		method: 'get',

	})
}
//查询商圈
export function getShoppingListApi() {
	return request({
		url: '/selectShopping',
		method: 'get'
	})
}
//小吃详情
export function getSnackByShopId(data) {
	return request({
		url: '/getSnackByShopId',
		method: 'get',
		data
	})
}
//预定
export function postReserve(data) {
	return request({
		url: '/doReserve',
		method: 'post',
		data
	}, true)
}
//套餐详情
export function setMealSelectById(data) {
	return request({
		url: '/setMealSelectById',
		method: 'get',
		data
	})
}

export function getMealById(data) {
	return request({
		url: '/setSnackById',
		method: 'get',
		data
	})
}